package com.car.shopping.service.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;

@Data
public class AddGoodsInfoParam {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品名")
    private String goodsName;

    @ApiModelProperty("商品类别id")
    private Integer goodsTypeId;

    @ApiModelProperty("商品图片")
    private MultipartFile goodsImg;

    @ApiModelProperty("商品库存量")
    private Integer goodsStock;

    @ApiModelProperty("商品价格")
    private BigDecimal goodsPrice;

//    @ApiModelProperty("修改时间")
//    private LocalDateTime modifyTime;
//
//    @ApiModelProperty("修改人id")
//    private Integer adminId;

    @ApiModelProperty("商品描述")
    private String goodsDetail;
}
